Trees | Index | Help |
|
---|
Package phones :: Module com_motov710 :: Class Phone |
|
object
--+ |Phone
--+ |Phone
--+ |Phone
--+ |RealBrewProtocol
--+ |Phone
--+ | Phone
Phone
,
Phone
,
Phone
,
Phone
Method Summary | |
---|---|
__init__(self,
logtarget,
commport)
| |
detectphone(_,
coms,
likely_ports,
res,
_module,
_log)
(Class method) | |
Save ringtones to the phone | |
Save wallpapers to the phone | |
Build a BitPim calendar object from phonebook data | |
Build a BitPim phonebook entry based on phone data. | |
Translate the mail list from text name to indices | |
_build_phone_alarm_entry(self,
entry,
calendar)
| |
Build a phone entry based on a BitPim calendar entry | |
Build a phone exception entry based on a BitPim entry | |
Build the repeat part of this phone entry | |
Build a regular BitPim entry frm phone data | |
Build and return a repeat object of this entry | |
Delete the phonebook entry index from the phone | |
Return a bitmap dayofweek | |
Return the group index of the group. | |
_get_groups(self)
| |
Return a list of media being replaced | |
_get_primary_code(self,
fundamentals)
| |
Return the ringtone code of this entry | |
_get_ringtone_index(self)
| |
_get_wallpaper_index(self)
| |
Return the full path name for the wallpaper | |
_item_from_index(self,
name,
item_key,
index_dict)
| |
Extract the email component | |
Populate a BitPim phonebook entry with one from the phone | |
Extract the mailing list component | |
Populate ringtone, wallpaper to a number, email, or mail list | |
extract the number into BitPim phonebook entry | |
Process all exceptions | |
Replace existing media files with new contents | |
Save the Group(Category) data | |
Set the ringtone, wallpaper, and primary parameters | |
_update_a_mail_list(self,
entry,
sd_dict)
| |
Translate the contents of each mail list from speed-dial into the corresponding names or numbers. | |
Write the calendar entries to the phone | |
Write out the phonebook to the phone | |
Write an phonebook entry to the phone | |
Write all emails to the phone | |
Write all the mail lists to the phone | |
Write all the numbers to the phone | |
Inherited from Phone | |
Retrieve ringtones data | |
Retrieve wallpaper data | |
Read the contents of media files and return | |
| |
| |
| |
| |
| |
Inherited from Phone | |
convert an ascii string to UCS-2 | |
Set the charset to ASCII (default) | |
Set the charset to UCS-2, used for most string values | |
Decode a Motorola unicode string | |
| |
Encode a unicode/string into a Motorola unicode | |
| |
| |
| |
| |
| |
| |
Read all calendars from the phone | |
Gets information fundamental to interopating with the phone and UI. | |
Reads the phonebook data. | |
| |
Lock the calendar to access it | |
Save calendar entries to the phone | |
Saves out the phonebook | |
Select the default SMS storage | |
| |
Set the current phone mode | |
convert an UCS-2 to ASCII string | |
Make sure that each and every number/email/mail list has a speed dial, which is being used as the slot/index number | |
Populate the next available speed dial | |
Mark the speed dial slots being used | |
| |
Process an SMS result as returned from the phone | |
| |
| |
| |
| |
Create a new group dict keyed by name for lookup | |
Create a new ringtone dict keyed by name for lookup | |
| |
Inherited from Phone | |
| |
| |
| |
| |
Similar to the sendpbcommand in com_sanyo and com_lg, except that a list of responses is returned, one per line of information returned from the phone | |
Inherited from Phone | |
Raises an alert in the main thread | |
| |
Read SMS messages from the phone | |
Log a message | |
Log some data with option data object/class for the analyser | |
Update the progress meter | |
Raise a comms DeviceNeedsAttention Exception | |
| |
Read the specified filename and bind it to the object class | |
Ensure the phone is in the right mode | |
Writhe the object into the file | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
Inherited from RealBrewProtocol | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
Class Variable Summary | |
---|---|
tuple |
builtinringtones = ((0, ('Silent',)), (5, ('Vibe Dot', '...
|
str |
desc = 'Moto-V710'
|
str |
helpid = 'phone-motov710.htm'
|
str |
serialsname = 'motov710'
|
Inherited from Phone | |
str |
_switch_mode_cmd = 'DX\xf4~'
|
Inherited from Phone | |
str |
MODEPHONEBOOK = 'modephonebook'
|
Inherited from Phone | |
NotImplementedType |
getcallhistory = NotImplemented
|
NotImplementedType |
getmemo = NotImplemented
|
NotImplementedType |
getplaylist = NotImplemented
|
NotImplementedType |
getsms = NotImplemented
|
NotImplementedType |
gett9db = NotImplemented
|
NotImplementedType |
gettodo = NotImplemented
|
str |
MODEMODEM = 'modemodem'
|
str |
MODENONE = 'modenone'
|
Inherited from RealBrewProtocol | |
str |
brewterminator = '~'
|
str |
MODEBREW = 'modebrew'
|
int |
_brewepochtounix = 315964800 |
Instance Method Details |
---|
saveringtones(self, fundamentals, merge)Save ringtones to the phone |
savewallpapers(self, fundamentals, merge)Save wallpapers to the phone |
_build_cal_entry(self, entry, calendar, fundamentals)Build a BitPim calendar object from phonebook data
|
_build_pb_entry(self, entry, pb_book, fundamentals)Build a BitPim phonebook entry based on phone data.
|
_build_pb_maillist(self, entry, fundamentals)Translate the mail list from text name to indices |
_build_phone_entry(self, entry, calendar)Build a phone entry based on a BitPim calendar entry |
_build_phone_exception_entry(self, entry, calendar, exceptions)Build a phone exception entry based on a BitPim entry |
_build_phone_repeat_entry(self, entry, calendar)Build the repeat part of this phone entry |
_build_regular_cal_entry(self, entry, calendar, fundamentals)Build a regular BitPim entry frm phone data |
_build_repeat_part(self, entry, calendar, fundamentals)Build and return a repeat object of this entry |
_del_pb_entry(self, entry_index)Delete the phonebook entry index from the phone |
_dow(self, ymd)Return a bitmap dayofweek |
_get_group_code(self, entry, fundamentals)Return the group index of the group. Return 1(General) if none found |
_get_new_list(self, index_key, media_key, fundamentals)Return a list of media being replaced |
_get_ringtone_code(self, entry, fundamentals)Return the ringtone code of this entry |
_get_wallpaper_name(self, entry, fundamentals)Return the full path name for the wallpaper |
_populate_pb_email(self, pb_entry, entry, fundamentals)Extract the email component |
_populate_pb_entry(self, pb_entry, entry, fundamentals)Populate a BitPim phonebook entry with one from the phone |
_populate_pb_maillist(self, pb_entry, entry, fundamentals)Extract the mailing list component |
_populate_pb_misc(self, pb_entry, pb_sub_entry, key_name, entry, fundamentals)Populate ringtone, wallpaper to a number, email, or mail list |
_populate_pb_number(self, pb_entry, entry, fundamentals)extract the number into BitPim phonebook entry |
_process_exceptions(self, calendar)Process all exceptions |
_replace_files(self, index_key, media_key, new_list, fundamentals)Replace existing media files with new contents |
_save_groups(self, fundamentals)Save the Group(Category) data
|
_set_pb_entry_misc(self, req, entry, fundamentals)Set the ringtone, wallpaper, and primary parameters |
_update_mail_list(self, pb_book, fundamentals)Translate the contents of each mail list from speed-dial into the corresponding names or numbers.
|
_write_calendar_entries(self, fundamentals)Write the calendar entries to the phone |
_write_pb_entries(self, fundamentals)Write out the phonebook to the phone |
_write_pb_entry(self, entry, fundamentals)Write an phonebook entry to the phone |
_write_pb_entry_emails(self, entry, req, fundamentals)Write all emails to the phone |
_write_pb_entry_maillist(self, entry, req, fundamentals)Write all the mail lists to the phone |
_write_pb_entry_numbers(self, entry, req, fundamentals)Write all the numbers to the phone |
Class Variable Details |
---|
builtinringtones
|
desc
|
helpid
|
serialsname
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Aug 15 18:58:25 2008 | http://epydoc.sf.net |